package org.vshe.improve.hibernate.recipes.domain;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="audio_disk_3")
public class AudioDisk_3 extends Disk_3 {	
	private static final long serialVersionUID = 6978761811446132925L;
	
	@Column(name="songs_count")
	private Integer noOfSongs;
	@Column
	private String signer;
	
	public AudioDisk_3() {
		super();
	}

	public Integer getNoOfSongs() {
		return noOfSongs;
	}

	public void setNoOfSongs(Integer noOfSongs) {
		this.noOfSongs = noOfSongs;
	}

	public String getSigner() {
		return signer;
	}

	public void setSigner(String signer) {
		this.signer = signer;
	}

	@Override
	public String toString() {
		return "AudioDisk [noOfSongs=" + noOfSongs + ", signer=" + signer
				+ ", getId()=" + getId() + ", getName()=" + getName()
				+ ", getPrice()=" + getPrice() + "]";
	}

	
	
	
}
